cleaning up mobile master method