same for the method above