removed copy-pasted code