adding some object methods, should only be funtions specifc to the input values.