Removed printing function