debugging, will be useful in future