Implemented core functionality