Added in missing variables