Implemented user specific methods and removed some unused debug-codes