use ruby conventional structure