Added modified codes