example using new bin methd