added function a
added function b
add function a + c
fixed onload