fixed delays bug, added base delay to control time better