refactor
don't repeat yourself
half to android sync