added GSS method