avoid re-defining mag array or homework gets confusing