moved storable instance declaration