removing database reference in steps