removed duplucated codes