my learning script on ruby