First attempt at ctx arrays