const char path[] -> const char* path -> it's pointless to mess it up