added c arrays