Define protocol instead of using standard variable