Added the type function to the value to check the type