added c99 flag just in case