Method with two parameters added
@properties implemented