what are the fees and when are they applied?