Implemented some basic functionality