add profile calculation function for various options