using to_i methods and removed useless setter