appending inside model