took out [0] from console log