cleaned up the status attachments funcionality and added a helper