getting rid of the unnecessary use of ids