working on attachment mode for mobile