Optimize Mario alarm