Implemented couple of functions

have an idea