Array func added, changes to the boolean