better way to do it