add type to variable c
define bug
start memory allocation