add attachment feature (WIP)