made code look nicer