adding .rb file