improved the profile block