using pkill instead of kill