made code look neater