changed another minor implementation