Move logic to meta data