Added a few helping methods