moving more functions to util
removing vis invis console log