what is the purpose or objective of an invention