cahnge in setter to ruby way