removing not used code