Added some functional methods