removed an error due to a function intended to debug