adding method dock