code stander. move new functions to end. Edit comment