added parameters for method