added pricing fns
added proration