removed passing in window stuff to convert