working on pulse profile