Debuged version
Debuged version