Generate button is not fully functional yet