made compatible with löve 0.9