allow user to define own array