added stuff for git patch