removed repetitive method