comments
updated skeleton: everything but the function pattern
add basic function pattern