binding with method