Removed never used code