added allegro stuff