brought sphinx stuff in