Implemented some useful stuff