adding ico and separating code...