changed ideas from strings to numbers