What are the requirements for being granted a patent