position is set in constructor when parameter is given