fixed java and added c