Deleted unnecessery code