updating code for standards