Three assingment functions created