write better code