fix brew time delay
formatting and removing dead code