added more method definitions