assignment operator with additional var