Working debugged version