fixed formatting and removed debugging echo