adds a few helpful methods