I removed douplicated code. Praise me till eternity