add a type field to this to keep things consistent for the client apps