better code formatting