Add profile code to my latest functions