add objects sample
add method reference sample