replaced an array_push function call with an ordinary statement