Made a couple of helper methods private