Moved compose method