This really needs to be moved outside