switching over to using hash for initialiser args