Added 'Tips' function and alert box.