Removed double code