Removed not used code