added pre command