moved renderOrientstionDiretions to Utils