made code better to read