make my code less broken