Implemented desired functionality