split screen functions in separated module