make code less painfull