runs an instance