Added some method definitions