simplified code

new rev