adding a couple of methods