adding type before actions
using clear-all