Update commons.c