move main stuff into another view