removed db variable.