moving methods bodies from sms to model