i think this is a good way to do it?