document methods in console