refactor utilities

refactor utils

cleanup messages

add a silly timeout thing