c() func is causing oom for some reason, this is working fine instead.