all works with main now! time for bed