there is a better way