remove not needed parts and code