updated for compatibility with love 0.9