removed dependency on sfml