added chapter about methods