moved styling added alert