make separate functions for debugging -> DBG_something()..