added c logs