taking out janky error checking